package com.mycode.view;

import javax.swing.*;

/**
 * @author shkstart
 * @create 2021-01-22 14:51
 */
public class ATMFrame extends JFrame {
    //屏幕旁按钮
    private JButton[] viewBtn;
    //屏幕上标签
    private JLabel[] viewOperLab[];

    //屏幕上提示标签
    private JLabel tipLab;
    //屏幕上信息提示标签
    private JLabel infoLab;
    //屏幕上显示数组的文本框
    private JTextField viewJtg;
    //数字按钮
    private JButton[] numBtn;
    //操作按钮
    private JButton[] operBtn;
    //取钱口按钮
    private JButton monetBtn;
    //插卡口按钮
    private JButton cardBtn;

    public ATMFrame() {
        super("ATM");
        this.setLayout(null);
        this.setSize(500, 600);
        this.setLocationRelativeTo(null);
        addComponent();


        this.setVisible(true);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);


    }

    private void addComponent() {

    }

}
